package unit5.part7.bak;

import java.util.Scanner;

public class MainClass {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String text = scanner.next();
        String[] array = text.split(";");
        String name = array[0];
        double computeScore = Double.parseDouble(array[1]);
        SoftwareSeeker softwareSeeker = new SoftwareSeeker(name, computeScore);

        text = scanner.next();
        array = text.split(";");
        name = array[0];
        double dataAnalysisScore = Double.parseDouble(array[1]);
        double dataProcessScore = Double.parseDouble(array[1]);
        BigDataSeeker bigDataSeeker = new BigDataSeeker(name, dataAnalysisScore, dataProcessScore);

        HrMarketer hrMarketer = new HrMarketer(new SeekJob[]{softwareSeeker, bigDataSeeker});
        hrMarketer.result();
    }
}
